export default {
    addCounter(state, payload) {
        payload.count++
    },
    addToCart(state, payload) {
        payload.checked = true
        state.cartList.push(payload)
    },
    // checkClick(state) {
    //     state.cartList.checked = !state.cartList.checked
    //     console.log(state.cartList.checked);
    // }
}